package com.netcracker.studportal.server.main_test;

import org.json.simple.JSONObject;

import com.netcracker.studportal.server.facade.FacadeAdmin;
import com.netcracker.studportal.server.model.*;

public class FacadeAdminSubject {
	public static void main(String args[]){
		FacadeAdmin fa= new  FacadeAdmin();
		try{
				
		JSONObject obj = new JSONObject();;
		obj.put("subject_id", "12");
		obj.put("course", "3");
		obj.put("description", "3");
	    obj.put("hours", "48");
		obj.put("name", "PHILOSOPHY");
		
		
		
	    String str=fa.deleteFieldSubject(obj.toString());
       // String str=fa.updateFieldSubject(obj.toString());
        
	   //String str=fa.addNewSubject(obj.toString());
	    System.out.println("str "+str);
		
		//String all_subject=fa.getAllSubject();		
		//System.out.println(all_subject);		
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
}
